package com.slimbloody.hbase;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum HBaseTableInfoEnum {
  UserTcmQualityFeature("user_tcm_quality_feature", "cf", "utqf"),
  TcmAvgPrice("tcm_avg_price", "cf", "tap"),
  ;

  private final String tableName;
  private final String cf;
  private final String qualifier;

  public String getTableNameWithVersion(Integer version) {
    return getTableName() + '_' + version;
  }
}
